import fetch from './http.js'

export  const getImageCode=function (data){return fetch({url:'/index.php/dataofuser/getpiccode',method:'get',params:data})}
export const login=(data)=>{ return fetch({url:'/index.php/dataofuser/login',method:'post',params:data})}
export const exit=()=> fetch({url:'/index.php/dataofuser/loginout',method:'post',params:{}})
export const GroupYejiList=(data)=> fetch({url:'/index.php/dataofuser/getTotalList',method:'post',params:data})
export const GroupLeaderSearch=(data)=>fetch({url:'/index.php/dataofuser/getMemberInfo',method:'post',params:data})
export const GroupDirectPush=(data)=>fetch({url:'/index.php/dataofuser/getZtMember',mehtod:'post',params:data})
export const GroupDetailQuery=(data)=>fetch({url:'/index.php/dataofuser/getSenior',method:'post',params:data})
export const ProjectList=()=>fetch({url:'index.php/dataofuser/getProject',method:'post',params:{}})
export const GroupSubordInate=(data)=>fetch({url:'/index.php/dataofuser/getSubordinate',method:'post',params:data})
export const SingleYejiList=(data)=>fetch({url:'/index.php/dataofuser/getSingleTotalList',method:'post',params:data})
export const GetOriginList=()=>fetch({url:'/index.php/dataofuser/getOriginList',method:'post',params:{}})
export const GroupYejiExport=(data)=>fetch({url:'/index.php/dataofuser/excelTeamData',method:'post',params:data})
